package com.wsoft.form.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author z001
 * @since 2024年09月12日 14:02:54
 */
@Getter
@Setter
@TableName("wf_from_column_link")
@Schema(name = "WfFromColumnLinkEntity", description = "")
public class WfFromColumnLinkEntity extends BaseEntity {

    @Schema(description = "字段id")
    @TableField("column_id")
    private Long columnId;

    @Schema(description = "设计表id")
    @TableField("design_id")
    private Long designId;

    @Schema(description = "主字段id")
    @TableField("column_master_id")
    private Long columnMasterId;

    @Schema(description = "关联的表单id")
    @TableField("link_form_id")
    private Long linkFormId;

    @Schema(description = "查询关联json")
    @TableField(value = "link_from_querys",updateStrategy = FieldStrategy.ALWAYS)
    private String linkFromQuerys;


    @Schema(description = "条件json")
    @TableField(value = "link_form_wheres",updateStrategy = FieldStrategy.ALWAYS)
    private String linkFormWheres;
}
